package com.ljm.file.recycle.dto;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;
import java.io.Serializable;
import java.time.LocalDateTime;

/**
 * <p>
    * 平台文件信息
    * </p>
 *
 * @author HuamingChen
 * @since 2020-09-30
 */

@ApiModel(value="SysFileRecycleDto对象", description="平台文件信息")
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
public class SysFileRecycleDto implements Serializable {
    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "主键")
    private Long id;

    @ApiModelProperty(value = "创建人")
    private String creater;

    @ApiModelProperty(value = "创建时间")
    private LocalDateTime createTime;

    @ApiModelProperty(value = "是否删除")
    private Boolean isDelete;

    @ApiModelProperty(value = "原文件名称")
    private String originFileName;

    @ApiModelProperty(value = "对象存储中的文件id")
    private String ossFileId;

    @ApiModelProperty(value = "文件后缀")
    private String fileSuffix;

    @ApiModelProperty(value = "文件大小")
    private Integer fileSize;

    @ApiModelProperty(value = "文件类型(0公开、1加密)")
    private Boolean fileType;

    @ApiModelProperty(value = "oss存储路径")
    private String storagePath;

    @ApiModelProperty(value = "下载链接(公开文件才有)")
    private String downloadUrl;

    @ApiModelProperty(value = "系统标识")
    private String fdSys;

    @ApiModelProperty(value = "模块标识")
    private String fdModule;

    @ApiModelProperty(value = "业务唯一标识")
    private String fdSectionId;

    @ApiModelProperty(value = "是否确认(无确认的文件会在15天后删除)")
    private Boolean fdConfirmed;

    private Long pageNo;

    private Long pageSize;

}
